<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title><?php echo $web_title;?></title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <!-- bootstrap 3.0.2 -->
        <link href="<?php echo base_url()?>admin/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <!--<link href="<?php echo base_url()?>admin/css/bootstrap-dialog.min.css" rel="stylesheet" type="text/css" />-->
        <!-- font Awesome -->
        <link href="<?php echo base_url()?>admin/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <!-- Ionicons -->
        <link href="<?php echo base_url()?>admin/css/ionicons.min.css" rel="stylesheet" type="text/css" />
        <!-- Theme style -->
        <link href="<?php echo base_url()?>admin/css/AdminLTE.css" rel="stylesheet" type="text/css" />
        
        <!-- DATA TABLES -->
        <link href="<?php echo base_url()?>admin/css/datatables/dataTables.bootstrap.css" rel="stylesheet" type="text/css" />
        
        <link href="<?php echo base_url()?>admin/css/mimin.css" rel="stylesheet" type="text/css" />
        <!-- bootstrap wysihtml5 - text editor -->
        <link href="<?php echo base_url()?>admin/css/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css" rel="stylesheet" type="text/css" />
        
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
    </head>
    <body class="skin-blue">
        <!-- header logo: style can be found in header.less -->
        <header class="header">
            <?php $this->load->view("mimin/template/header");?>
        </header>
        <div class="wrapper row-offcanvas row-offcanvas-left">
            <!-- Left side column. contains the logo and sidebar -->
            <aside class="left-side sidebar-offcanvas">
                <!-- sidebar: style can be found in sidebar.less -->
                <!-- LEFT NAV MENU -->
                <section class="sidebar">
                    <?php $this->load->view("mimin/template/left_nav");?>
                </section>
                <!-- /.sidebar -->
            </aside>

            <!-- Right side column. Contains the navbar and content of the page -->
            <aside class="right-side">
                <div class="loading">Loading&#8230;</div>
                <?php
                $this->load->view($main_view);
                ?>
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->

        <!-- jQuery 2.0.2 -->
        <script src="<?php echo base_url()?>assets/js/jquery-1.9.1.min.js"></script>
        <!-- Bootstrap -->
        <script src="<?php echo base_url()?>admin/js/bootstrap.min.js" type="text/javascript"></script>
        <script src="<?php echo base_url()?>admin/js/bootstrap-dialog.min.js" type="text/javascript"></script>
        
        <!-- DATA TABES SCRIPT -->
        <script src="<?php echo base_url()?>admin/js/plugins/datatables/jquery.dataTables.js" type="text/javascript"></script>
        <script src="<?php echo base_url()?>admin/js/plugins/datatables/dataTables.bootstrap.js" type="text/javascript"></script>
        
        <!-- AdminLTE App -->
        <script src="<?php echo base_url()?>admin/js/AdminLTE/app.js" type="text/javascript"></script>    
        <!-- CK Editor -->
        <script src="<?php echo base_url()?>admin/js/plugins/ckeditor/ckeditor.js" type="text/javascript"></script>
        <!-- Bootstrap WYSIHTML5 -->
        <script src="<?php echo base_url()?>admin/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js" type="text/javascript"></script>
        <script src="<?php echo base_url()?>assets/js/mimin.js" type="text/javascript"></script>  
        <script type="text/javascript">
            $(function() {
                $('#example2').dataTable({
                    "bPaginate": true,
                    "bLengthChange": true,
                    "bFilter": false,
                    "bSort": true,
                    "bInfo": true,
                    "bAutoWidth": false
                });
            });
        </script>
    </body>
</html>